﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PubSubGeneric.WCFContracts.Utils
{
    public static class Util
    {
        public static string GetFullTypeName(Type T)
        {
            return String.Join(",", T.AssemblyQualifiedName.Split(',').Take(2).ToArray());
        }

        public static string GetFullTypeName<T>()
        {
            return GetFullTypeName(typeof(T));
        }
    }
}
